<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <p id="box1">old</p>
</body>

<script>

    for (let i = 0; i < 3; i++) {
        const p = document.createElement('p');
        p.innerHTML = i;
        document.body.appendChild(p);
    }

    const oldP = document.getElementById('box1');
    for (let i = 0; i < 3; i++) {
        const p = oldP.cloneNode(false);
        p.innerHTML = i;
        document.body.appendChild(p);
    }



</script>
</html>